// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** 此处后端没有提供注释 POST /exercisesSet/delete */
export async function deleteExercisesSet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deleteExercisesSetParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean>('/exercisesSet/delete', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 此处后端没有提供注释 GET /exercisesSet/get */
export async function getExercisesSets(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getExercisesSetsParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseListExercisesVO>('/exercisesSet/get', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** 此处后端没有提供注释 POST /exercisesSet/list/vo/page */
export async function listExercisesSetByPage(
  body: API.ExercisesSetsQueryRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponsePageExercisesSets>('/exercisesSet/list/vo/page', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}
